import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './router/promission' // 路由守卫，做动态路由的地方
import http from './http'

import './plugins/elementui';
import './assets/scss/base.scss';

Vue.config.productionTip = false
Vue.prototype.$http = http; // 所有的子组件通过 this.$http 访问请求对象

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
